#!/usr/bin/env python
# encoding: utf-8
# @author: zhaifg
# @file: forms.py

from django import forms
from assets.models import IDC


class IDCForm(forms.ModelForm):
    class Meta:
        model = IDC
        fields = ['name', 'address', 'contact_user', 'mobile', 'other_mobile', 'remark']
        
        
class IDCUpdateForm(forms.ModelForm):
    class Meta:
        model = IDC
        fields = ['id', 'name', 'address', 'contact_user', 'mobile', 'other_mobile', 'remark']